package com.miplus.ccrm.core.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName cp_calllist_trigger
 */
@TableName(value ="cp_calllist_trigger")
@Data
@KeySequence(value ="SEQ_CPLS_TRIGGER")
public class CpCalllistTrigger implements Serializable {
    /**
     * 任务触发器ID
     */
    @TableId(type = IdType.INPUT)
    private Integer triggerid;

    /**
     * 触发器名
     */
    private String name;

    /**
     * 业务类型
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String businesstype;

    /**
     * 逾期天数范围起
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer overday1;

    /**
     * 逾期天数范围止
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer overday2;

    /**
     * 生效日期起
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Date availableday1;

    /**
     * 生效日期至
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Date availableday2;

    /**
     * 备注
     */
    private String remark;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 事业部
     */
    private String businessgrp;

    /**
     * 经销商
     */
    private String distributor;

    /**
     * 创建时间
     */
    private Date crdt;

    /**
     * 创建人
     */
    private String crusr;

    /**
     * 修改时间
     */
    private Date mddt;

    /**
     * 修改人
     */
    private String mdusr;

    /**
     * 客户区域（多选）
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String city;

    /**
     * 逾期期数起
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer mthsodue;

    /**
     * 逾期期数止
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer mthsodue2;

    /**
     * 客户标签（多选）
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String custtags;

    /**
     * 1=不包括custtags标签，其它包括
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String noinctag;

    /**
     * 组id
     */
    private String grpid;

    /**
     * 座席id（多选，逗号分隔）
     */
    private String usrid;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}